package com.tj.bigdata.syncblock.pojo;

import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import javax.persistence.Column;
import javax.persistence.Table;
import java.io.Serializable;
import java.math.BigInteger;

/**
 * @author guoch
 */
@Data
@Accessors(chain = true)
@Table(name = "error_block")
@NoArgsConstructor
public class ErrorBlockPo implements Serializable {

    @Column(name = "id")
    private Integer id;

    @Column(name = "block_num")
    private BigInteger blockNum;

    @Column(name = "partition_index")
    private String partitionIndex;

    @Column(name = "error_type")
    private Integer errorType;
}
